{% extends "base_generic.html" %}

{% block content %}
<h1>删除图书</h1>
<p>确定要删除图书: <strong>{{ object }}</strong> 吗？</p>
<form action="" method="POST">
    {% csrf_token %}
    <input type="submit" value="确认删除" class="btn btn-danger">
    <a href="{{ object.get_absolute_url }}" class="btn btn-secondary">取消</a>
</form>
{% endblock %}